GtkFontChooser: Setting a default vertical size
authorAlberto Ruiz <aruiz@gnome.org>
Sat, 16 Apr 2011 21:52:03 +0000 (22:52 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 15 Aug 2011 22:57:52 +0000 (18:57 -0400)
gtk/gtkfontchooser.c

index 7ffde58b401ee75c8349a664f07a54cfb77b2c0e..9eedd2d2590c7a56d14efebc4c5b21f28806ada3 100644 (file)
@@ -414,8 +414,8 @@ gtk_font_selection_init (GtkFontSelection *fontsel)
   gtk_box_pack_start (GTK_BOX (preview_and_size), scrolled_win, FALSE, FALSE, 0);
   
   /* Setting the size requests for various widgets */
-  gtk_widget_set_size_request (priv->family_face_list, -1, 360);
-  gtk_widget_set_size_request (scrolled_win, -1, PREVIEW_HEIGHT);
+  gtk_widget_set_size_request (fontsel,       -1, 460);
+  gtk_widget_set_size_request (scrolled_win,  -1, PREVIEW_HEIGHT);
   gtk_widget_set_size_request (priv->preview, -1, PREVIEW_HEIGHT - 6);
 
   /* Unset the frame on the preview entry and set a shadow in the scrolled window */